//
//  FPTodayHotView.m
//  FilmParadise
//
//  Created by lanou3g on 15/7/14.
//  Copyright (c) 2015年 DLYgroup. All rights reserved.
//

#import "FPTodayHotView.h"

@implementation FPTodayHotView

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        UIView *lineView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, kScreenWidth, kImageH(5))];
        lineView.backgroundColor = [UIColor colorWithWhite:0.718 alpha:1.000];
        [self addSubview:lineView];
        UILabel *titlelabel = [[UILabel alloc]initWithFrame:CGRectMake(kImageW(15), kImageH(5), kImageW(100), kImageH(30))];
        titlelabel.text = @"今日热点";
        
        [self addSubview:titlelabel];
        self.moreBtn = [UIButton buttonWithType:UIButtonTypeSystem];
        self.moreBtn.frame = CGRectMake(kScreenWidth - kImageW(60), kImageH(5), kImageW(50), kImageH(30));
        self.moreBtn.titleLabel.font = [UIFont systemFontOfSize:kImageW(15)];
        [self.moreBtn setTitle:@"更多 >" forState:UIControlStateNormal];
        self.moreBtn.tintColor = [UIColor grayColor];
        [self addSubview:_moreBtn];
    }
    return self;
}

@end
